﻿@model User
@Html.Extra()
@{
    Layout = "~/Views/Shared/OA/_Detail.cshtml";


}
@section Toolbar
{
    @Html.MyNet().Button(new ButtonOptions { Text = "返回", Click = "back" })
}
@section Main
{
    <fieldset>
        <legend>基本信息</legend>
        <table>
            <colgroup>
                <col style="width: 150px;" />
            </colgroup>
            <tr>
                <th>用户名：</th>
                <td>
                    @Model.UserName
                </td>
            </tr>
            <tr>
                <th>姓名：</th>
                <td>
                    @Model.Name
                </td>
            </tr>
            <tr>
                <th>昵称：</th>
                <td>
                    @Model.GetName()
                </td>
            </tr>
            <tr>
                <th>头像：</th>
                <td>
                    <img src="@Model.GetPhoto()" />
                </td>
            </tr>
            <tr>
                <th>手机：</th>
                <td>
                    @Model.MobilePhone
                </td>
            </tr>
            <tr>
                <th>创建时间：</th>
                <td>
                    @StringHelper.FormatDateAndTime(Model.CreateTime)
                </td>
            </tr>
            <tr>
                <th>性别：</th>
                <td>
                    @(Model.Gender.GetValueOrDefault() == 1 ? "男" : "女")
                </td>
            </tr>

        </table>
    </fieldset>
    <fieldset>
        <legend>推广信息</legend>
    </fieldset>

}

